﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Jinjia.Approve.Common
{
    public class Constants
    {
        //文件上传路径
        public const string UPLOADPATH = "/Uploads/";
        public const string UPYUNPATH = "/erpa/Uploads/";

        // 又拍云
        public const string CONST_UPYUN_BUCKETNAME = "jinjia-image-server"; // 服务名
        public const string CONST_UPYUN_USERNAME = "yuanzhou"; // 账号
        public const string CONST_UPYUN_PWD = "jinjia123"; // 密码
        public const string CONST_UPYUN_BASEURL = "http://cdn.upyun.mallimg.shjinjia.com.cn"; // 基础url
        public const string CONST_MINI_UPYUN_BASEURL = "https://cdn.upyun.mallimg.shjinjia.com.cn"; // 小程序支付宝支付二维码地址
        public const string CONST_UPYUN_DOWNLOAD = "?_upd=true"; // 直接下载

        // api接口返回状态码
        public const string MESSAGE_OK_CODE = "0";
        public const string MESSAGE_OK_TEXT = "";
        public const string MESSAGE_NG_CODE_10000 = "-10000";
        public const string MESSAGE_NG_TEXT_10000 = "参数错误";
        public const string MESSAGE_NG_CODE_10001 = "-10001";
        public const string MESSAGE_NG_TEXT_10001 = "参数不足：{0}必须指定";
        public const string MESSAGE_NG_CODE_10002 = "-10002";
        public const string MESSAGE_NG_TEXT_10002 = "身份信息取得失败";
        public const string MESSAGE_NG_CODE_10003 = "-10003";
        public const string MESSAGE_NG_TEXT_10003 = "签名验证失败";
        public const string MESSAGE_NG_CODE_10004 = "-10004";
        public const string MESSAGE_NG_TEXT_10004 = "系统异常:";
        public const string MESSAGE_NG_CODE_10005 = "-10005";
        public const string MESSAGE_NG_TEXT_10005 = "支付单号取得失败";
        public const string MESSAGE_NG_CODE_10006 = "-10006";
        public const string MESSAGE_NG_TEXT_10006 = "订单不存在";
        public const string MESSAGE_NG_CODE_10007 = "-10007";
        public const string MESSAGE_NG_TEXT_10007 = "导出数据太多，请添加筛选条件";
        public const string MESSAGE_NG_CODE_10008 = "-10008";
        public const string MESSAGE_NG_TEXT_10008 = "本月品牌推广预算未维护";
        public const string MESSAGE_OK_WITH_BLACKLIST_CODE_10010 = "-10010";
    }
}
